/* 自定义全局样式 */

html,
body,
p,
div,
a,
img,
ul,
li,
i,
input,
select,
textarea,
span {
  box-sizing: border-box;
  font-size: 0.45rem;
}

.van-dialog__message {
  font-size: 0.45rem;
}

::placeholder {
  /* color: red !important; */
  font-size: 0.4rem !important;
  // text-indent: 1em;
}

.text-red {
  color: #dc3019;
}

.bg-red {
  background: #dc3019;
}

.text-blue {
  color: #1989fa;
}

@red: #dc3019;
@blue: #409EFF;
@orange: #fc7940;

.myHeader {
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  box-shadow: 0 1px 5px 1px #f1f1f1;

  .vux-header-title {
    font-size: 20px;
  }

  .vux-header-left,
  .vux-header-right {
    top: 0 !important;
    height: 100%;
    display: flex !important;
    align-items: center;
  }

  .vux-header-left {
    .vux-header-back {
      font-size: 0.4rem;
      color: @blue;
    }

    .left-arrow {
      top: 50% !important;
      transform: translateY(-50%);

      &:before {
        border-color: @blue !important;
      }
    }
  }
}

.page-content {
  margin-top: 50px;
}

.weui-toast__content {
  color: #fff !important;
}

.van-toast__text {
  font-size: inherit;
}

.weui-textarea {
  min-height: 2rem;
  display: inline-block;
}

.scroll-view {
  max-height: 90% !important;
  overflow-y: auto !important;
}
